<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			function on1() {
				alert("内部");
			}
			
			//单行注释
			/*
				多行注释
			*/
		</script>
		<script src="js/index.js"></script>
		
		
	</head>
	<body>
		
		<input type="button" value="行内" onclick="alert('行内')"/>
		<input type="button" value="内部" onclick="on1()"/>
		<input type="button" value="外部" onclick="on2()"/>
	</body>
</html>